<#import "/analysis/function.ftl" as fn>
<@fn.header _title="统计分析">
<script type="text/javascript">
var lastFaqClick=null;
window.onload=function(){	
  var faq=document.getElementById("faq");
  var dls=faq.getElementsByTagName("dl");
  for (var i=0,dl;dl=dls[i];i++){
     var dt=dl.getElementsByTagName("dt")[0];//取得标题
     dt.id = "faq_dt_"+i;
     dt.onclick=function(){
       var p=this.parentNode;//取得父节点
        if (lastFaqClick!=null&&lastFaqClick.id!=this.id){
          var dds=lastFaqClick.parentNode.getElementsByTagName("dd");
          for (var i=0,dd;dd=dds[i];i++)
            dt.style.display='block';
        }
        lastFaqClick=this;
        var dds=p.getElementsByTagName("dd");//取得对应子节点，也就是说明部分
        var tmpDisplay='block';
        if (gs(dds[0],'display')=='block')
          tmpDisplay='none';
        for (var i=0;i<dds.length;i++)
          dds[i].style.display=tmpDisplay;
      }
   }
   
   document.getElementById("faq_dt_0").click();
}

function gs(d,a){
  if (d.currentStyle){
    var curVal=d.currentStyle[a]
  }else{
    var curVal=document.defaultView.getComputedStyle(d, null)[a]
  }
  return curVal;
}

function showContent(url) {
	var frame = document.getElementById("contentFrame");
	frame.src = url;
}
</script>
</@fn.header>
<body>
<!--<div id="topTitle">
  <div id="topPic"><img src="${base}/web/img/topimag.gif"/></div>
  <a href="#" style="position:absolute; right:20px; top:0; color:#FFF; font-weight:bold; padding:0 10px;">返回</a>
</div>
	<div class="inforBk">
    	<div><img src="${base}/web/img/iconUser.gif" width="16" height="16" /> 当前用户：${(user.name)!}</div>
    </div>
    -->
 <!-- 内容区域 -->    
<div id="main">
  <div id="tabContent">
    <div id="contentHolder">
      <div style="position:relative; overflow:hidden; width:100%;">
        <!-- 使用width是为了解决ie6下的bug -->
        <!-- 左列导航列表 -->
        <div id="nav">
          <ul id="faq">
            <li>
              <h3>功能菜单</h3>
              <dl>
                <dt><img src="${base}/web/img/dlguan.gif"/> 核对业务查询</dt>
                <dd><a href="javascript:showContent('${base}/searchInfo/queryBaseInfo?type=1');">基本信息查询</a></dd>
              </dl>
            </li>
            <li>
              <dl>
                <dt><img src="${base}/web/img/dlguan.gif"/> 核对业务统计</dt>
                <dd><a href="javascript:showContent('${base}/checkBusinessStat/checkFamilyStat');">核对家庭统计</a></dd>
                <dd><a href="javascript:showContent('${base}/checkBusinessStat/compareStat');">交换比对统计</a></dd>
                <dd><a href="javascript:showContent('${base}/checkBusinessStat/checkWordInfoStat');">核对工作情况统计</a></dd>
                <dd><a href="javascript:showContent('${base}/checkBusinessStat/reportInfoStat');">出具报告统计</a></dd>
              </dl>
            </li>
            <li>
              <dl>
                <dt><img src="${base}/web/img/dlguan.gif"/> 差异情况统计</dt>
                <dd><a href="javascript:showContent('${base}/diffInfoStat/diffFamilyStat?type=1');">差异家庭户数统计</a></dd>
                <dd><a href="javascript:showContent('${base}/diffInfoStat/suspendReasonStat?type=1');">中止情况原因统计</a></dd>
                <dd><a href="javascript:showContent('${base}/diffInfoStat/terminalReasonStat?type=1');">终止核对原因统计</a></dd>
              </dl>
            </li>
            <li>
              <dl>
                <dt><img src="${base}/web/img/dlguan.gif"/> 工作量与绩效统计</dt>
									<dd><a href="javascript:showContent('${base}/workStat/workloadStat?type=1');">核对工作量统计</a></dd>
               	 	<dd><a href="javascript:showContent('${base}/workStat/inWorkTimeOverStat?type=1');">内网人员工作超时统计</a></dd>
               	 	<dd><a href="javascript:showContent('${base}/workStat/outWorkTimeOverStat?type=1');">外网人员工作超时统计</a></dd>
              </dl>
            </li>
           
          </ul>
        </div>
        <!-- 右侧内容 -->
        <div id="content">
          <iframe id="contentFrame" src="${base}/searchInfo/queryBaseInfo?type=1" frameborder="0" scrolling="no"></iframe>
        </div>
      </div>
    </div>
  </div>
</div>
<div id="footer">精诚软件工作室</div>
</body>
</html>
